/*!
  Template: 404 Shipwrecked
  Version: 1.0
  Author: BernX

  - General
  - Button
  - Illustration
*/


/*--------------
  General
--------------*/
*{
  font-family: "Georgia";
  color: #30304D;
  font-weight: 400;
}

body{
  text-align: center;
  background-color: #FBFCFC;
}

h4{
  text-transform: uppercase;
  margin: 5px 0;
  font-weight: 600;
}

h1{
  font-size: 90px;
  font-weight: 800;
  color: #79A741;
  margin:0 0 8px;
}

h2{
  font-size: 30px;
  color: #FF8C69;
}

p{
  font-size: 17px;
}

section{
  margin-bottom: 25px;
}

/*--------------
  Button
--------------*/
.btn{
  border-style: none;
  color: #FBFCFC !important;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.btn-action{
  padding: 13px 45px;
  font-size: 18px;
  background-color: #79A741;
  text-transform: uppercase;
}

.btn-action:hover{
  background-color: #BFD840;
}

/*--------------
  Illustration
--------------*/
.illustration{
  position: relative;
  width: 947px;
  height: 437px;
  display: inline-block;
}

.illustration .island{
  background: url(../images/island.png) no-repeat;
  width: 947px;
  height: 437px;
  position: absolute;
  z-index: 0;
  background-position: center;
  background-size: 100%;
}

.illustration .char{
  background: url(../images/char.png) no-repeat;
  background-size: 100%;
  width: 177px;
  height: 306px;
  display: inline-block;
  z-index: 2;
  position: absolute;
  top: 100px;
  left: 430px;
}

.illustration .hand{
  background: url(../images/hand.png) no-repeat;
  width: 133px;
  height: 74px;
  background-size: 100%;
  display: inline-block;
  z-index: 1;
  position: absolute;
  top: 150px;
  left: 560px;
  -moz-animation: 1s ease 0s normal none infinite hand;
  -moz-transform-origin: 0% 80%;
  -webkit-animation:hand 1s infinite ease-in-out;
  -webkit-transform-origin:0% 80%;
  -o-animation: 1s ease 0s normal none infinite hand;
  -o-transform-origin: 0% 80%;
  -o-animation:hand 1s infinite ease-in-out;
  -o-transform-origin:0% 80%;
  -ms-animation: 1s ease 0s normal none infinite hand;
  -ms-transform-origin: 0% 80%;
  -ms-animation:hand 1s infinite ease-in-out;
  -ms-transform-origin: 0% 80%;
  animation: 1s ease 0s normal none infinite hand;
  transform-origin: 0% 80%;
  animation:hand 1s infinite ease-in-out;
  transform-origin: 0% 80%;
}
@-moz-keyframes hand {
0%{-moz-transform:rotate(-4deg)}
50%{-moz-transform:rotate(4deg)}
100%{-moz-transform:rotate(-4deg)}
}

@-webkit-keyframes hand {
0%{-webkit-transform:rotate(-4deg)}
50%{-webkit-transform:rotate(4deg)}
100%{-webkit-transform:rotate(-4deg)}
}

@-o-keyframes hand {
0%{-o-transform:rotate(-4deg)}
50%{-o-transform:rotate(4deg)}
100%{-o-transform:rotate(-4deg)}
}

@-ms-keyframes hand {
0%{-ms-transform:rotate(-4deg)}
50%{-ms-transform:rotate(4deg)}
100%{-ms-transform:rotate(-4deg)}
}

@keyframes hand {
0%{transform:rotate(-4deg)}
50%{transform:rotate(4deg)}
100%{transform:rotate(-4deg)}
}